package com.example.gybicycle.common.bigcycle;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
@Schema(name = "开关锁返回信息")
public class LockMsg {
    @Schema(description = "设备ID")
    private String NO;
    @Schema(description = "状态")
    private String state;
    @Schema(description = "开锁类型 2 关锁 1开锁")
    private Integer openType;
    @Schema(description = "D00+子锁码+插销ID")
    private String SN;
    public LockMsg(String NO, String state, Integer openType, String sn){
//        this.content=content;
        this.NO=NO;
        this.state= state;
        this.openType=openType;
        this.SN=sn;

    }

}
